<h1 style="font-size: 20px; color:#2E5268;padding:6px 0;border-bottom: 1px solid #2E5268">Новые страницы на сайте</h1>

<?foreach ($this->docs as $doc):?>

    <p style="font-size: 18px; color:#0f6ea9;margin:18px 0 4px 0;clear:both">
        <?if (!empty($doc->cron_img)):?>
        <img alt="<?=htmlspecialchars($doc->Get("pagetitle"),ENT_QUOTES,"UTF-8")?>" src="<?=$doc->cron_img?>" width="160" height="120" align="left" style="margin:0 18px 18px 0;float:left" align="left"/>
        <?endif;?>

        <strong><?=$doc->Get("pagetitle")?></strong></p>
    
        <p><?=$doc->Get("introtext")?><br/>
        <span style="color:gray;font-size:11px;">Создано: <?=mb_strtolower(strftime("%d %b %Y",$doc->Get("createdon")))?></span></p>
        <p><a style="color: #0f6ea9" href="<?=$modx->makeUrl($doc->Get("id"),'','',"full")?>">Подробнее...</a></p>
    <br/>
<?endforeach;?>




